'use strict'


import request from '@/utils/request'

export function getDangerDetail(parameter) {
  return request({
    url: '/ExExam/InitNewEntity',
    method: 'get',
    params: parameter
  })
}
// 试卷列表ExPaper/GetPageData?page=0&dataType=Window 
export function initNewEntity(parameter) {
  return request({
    url: '/ExPaper/GetPageData',
    method: 'get',
    params: parameter
  })
}
// 创建考试 ExExam/PostExam 
export function addPost(data) {
  return request({
    url: '/ExExam/PostExam ',
    method: 'post',
    data
  })
}
// 编辑考试 ExExam/GetEditApiDetail

export function editPost(parameter) {
  return request({
    url: '/ExExam/GetEditApiDetail',
    method: 'get',
    params: parameter
  })
}